using System;

using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using FlyOutMenu;

namespace NewsteadApp_Android.Resources.Activities
{
    [Activity(Label = "HomeActivities")]
    public class CashierActivity : Activity
    {
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            SetTheme(Android.Resource.Style.ThemeLightNoTitleBarFullScreen);
            // Set our view from the "main" layout resource

            SetContentView(Resource.Layout.Cashier_Container);
            var menu = FindViewById<FlyOutContainer>(Resource.Id.FlyOutContainer);
            var menuButton = FindViewById(Resource.Id.MenuButton);
            menuButton.Click += delegate
            {
                menu.AnimatedOpened = !menu.AnimatedOpened;
            };
        }
    }
}